package com.xbongbong.pro.message.pojo.dto;/*/*/

import com.xbongbong.paas.toolbox.wrap.BaseDTO;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 读单条消息的DTO
 * @author 魏荣杰
 * @date 2019/1/16 9:50
 * @since v1.0
 * @version v1.0
 */
@Getter
@Setter
@ToString
public class MessageReadDTO extends BaseDTO{

    /**
     * 需要已读的id
     */
    @NotNull(message = "{dto.msg.messageRead.ids.NotNull}")
    private List<Long> ids;
}
